<template>
    <div>
        <exam-statistics ref="examStat"/>
        <check-record ref="checkRed"/>
    </div>
</template>

<script>
    import examStatistics from "./examStatistics";
    import checkRecord from "./checkRecord";

    export default {
        components: {examStatistics, checkRecord},
        name: "competition",
        methods: {
            init() {
                this.$refs.checkRed.type = 2
                this.$refs.checkRed.init()
                this.$refs.examStat.type = 2
                this.$refs.examStat.findExamStatistics()
            }
        }
    }
</script>

<style scoped>

</style>
